home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: 2005 Utilities
/
CHIP Utilities 2005.7z
/
CHIP Utilities 2005.iso
/
images
/
arachne.igz
/
arachne.img
/
LEVEL0
/
UTILZ.CAB
/
bin
/
Mkenable.bat
< prev
next >
Wrap
DOS Batch File
|
2005-01-16
|
831b
|
23 lines
@if "%debug%"=="" echo off
if "%2"=="" goto _end
if not exist %ramdrv%\%2\%1.exe goto _end
echo @if exist %ramdrv%\%2\%1.exe %ramdrv%\%2\%1.exe >%tmp%\_mkenabl.tmp
if not exist %ramdrv%\etc\%1.ldr goto _noetc
type %ramdrv%\etc\%1.ldr >%ramdrv%\%2\%1.ldr
:_noetc
if not exist %ramdrv%\%2\%1.ldr goto _noldr
type %tmp%\_mkenabl.tmp >%tmp%\_mkenabl.bat
lmod [] [-]<%tmp%\_mkenabl.bat >%tmp%\_mkenabl.tmp
xgrep -sv "^[:s]*;" <%ramdrv%\%2\%1.ldr >%tmp%\_mkenabl.bat
lmod []<%tmp%\_mkenabl.bat >>%tmp%\_mkenabl.tmp
:_noldr
lmod [] %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8<%tmp%\_mkenabl.tmp >%tmp%\_mkenabl.bat
if "%p_pcmcia%"=="1" goto _force
if not "%3"=="" goto _force
type %tmp%\_mkenabl.bat >>%ramdrv%\bin\doenable.bat
goto _end
:_force
call %tmp%\_mkenabl.bat
:_end
for %%i in (%tmp%\_mkenabl.*) do del %%i >%tmp%\nul